<?php

include_once("class_lib.php");

$ctrl = new controller();

if (isset($_POST["name"]))
{
	$result = $ctrl->createTag($_POST["name"], $_POST["tag"]);
	
	print json_encode($result);
}

?>
